Credential Types
Table Name: GXT_CREDENTIALTYPES_TBL
List
Request a list of credential types.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_CREDENTIALTYPES_TBL
-
Response:
Copy1=Credential Type 1&2=Credential Type 2
Detail
Request the details of a specific credential type.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_CREDENTIALTYPES_TBL&RecId=<RecId>
-
Response:
CopyCredentialTypeId=1&Name=Credential Type 1&Format=2&PrecedingCharacters=0&TrailingCharacters=0&Prefix=&CaseSensitive=false
Update
Update a specific credential type.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_CREDENTIALTYPES_TBL&CredentialTypeId=1&Name=Wiegand 66bit
-
Response:
CopyOK
Create
Create a credential type. To create a credential type, use the same parameters as update but leave the CredentialTypeId empty.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_CREDENTIALTYPES_TBL&CredentialTypeId=&Name=Credential Type 1&Format=2&PrecedingCharacters=0&TrailingCharacters=0&Prefix=&CaseSensitive=false
-
Response:
CopyOK
Delete
Delete a specific credential type.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_CREDENTIALTYPES_TBL&RecId=<RecId>
-
Response:
CopyOK
Parameters
Parameter |
Display Name |
Default Value |
Notes |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CredentialTypeId |
Database ID |
1 |
The Detail, Control and Delete APIs use this value as the RecId. |
||||||||||||||
Name |
Name |
Credential Type 1 |
|
||||||||||||||
Format |
Format |
2 |
The format of the data sent to the controller by the third-party device. Supported formats include:
|
||||||||||||||
PrecedingCharacters |
Preceding Characters |
0 |
|
||||||||||||||
TrailingCharacters |
Trailing Characters |
0 |
|
||||||||||||||
Prefix |
Prefix |
|
|
||||||||||||||
CaseSensitive |
Case Sensitive |
false |
|
||||||||||||||
UserIdCredential |
Not displayed |
0 |
This parameter is reserved for site security enhancements and should always be set to zero. For Protege WX builds 4.00.712 and later it can be omitted altogether. |
||||||||||||||
TLVFormat |
Wiegand or TLV Format |
|
|